package com.cgs.mongo.exception;

/**
 * 提取异常
 */
public class ExtractException extends RuntimeException {

    public static ExtractException instance(String message) {
        return new ExtractException(message);
    }

    public static ExtractException instance(String message, Throwable cause) {
        return new ExtractException(message, cause);
    }

    public ExtractException(String message) {
        super(message);
    }

    public ExtractException(String message, Throwable cause) {
        super(message, cause);
    }
}
